home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr39 / bpq406f.zip / IPGATE.DOC < prev    next >
Text File  |  1992-12-31  |  5KB  |  135 lines

  1.             G8BPQ IP Router.
  2.  
  3. The IP router runs with BPQCODE versions 4.06c and above. It is
  4. normally run in a Desqview window (currently needs about 64k).
  5. Once loaded it looks rather like PAC4, and can display traffic passing
  6. through. The system is initially configured by commands in a file
  7. IPGATE.CFG. See below for format. The system will learn the IP addresses
  8. of stations which attempt to use the router, and will pass both
  9. preconfigured and learned addresses to neighbouring BPQ routers at regular
  10. intervals. The Protocol used is derived from RIP, but is not compatible
  11. with other RIP implementations.
  12.  
  13. There is a very primitive SYSOP interface with the following commands:
  14.  
  15. A    Display ARP Table
  16. D    Diagnositic dump
  17. N    Display RIP Destinations (Neighbours)
  18. R    Display Route Table
  19. S    Display Stats
  20. T    Force a RIP Transmission
  21.  
  22. ROUTE .....        ; Equivalent to the commands in IPGATE.CFG to add
  23. ARP .....        ; Route ARP or RIP  table entries. See below for
  24. RIP ....        ; details.
  25.  
  26. CTRL/Y shuts down IPGATE
  27.  
  28.  
  29. The Stats display is pretty obvious. The ROUTES display is as follows:
  30.  
  31. Target/Subnet    Router         Port Type Flags Metric Time  Count 
  32.  
  33. 44.131.4.30/32  44.131.4.18      1    V    2     02     00    0 
  34.  
  35. The first field is the target address, followed by the number of bits
  36. to be used in comparing addresses. In the current version the number is
  37. either 32, indicating a full address, or 24, indicating a route to a
  38. subnet zone. The next is the router to use, or 0.0.0.0 for a direct path.
  39. Port is the Radio port to use, and Type the session type (V=Virtual Circuit,
  40. N=NETROM, D=Datagram). Flags indicated whether the route is learned (1),
  41. or entered by SYSOP (2). Metric is the number of hops to the station. Time
  42. is the number of hours left before a learned route is deleted, and Count is
  43. the number of frames sent over this route.
  44.  
  45. The ARP display is as follows:
  46.  
  47. Callsign    IP Address        Timeout  Port  Type
  48. G8BPQ-5     44.131.4.18          65535    00    N
  49.  
  50. The timeout is in seconds, and 65535 indicates a locked entry.
  51.  
  52.  
  53. Please note that although the router supports both Virtual Circuit and
  54. Datagram mode, I strongly recommend that you only use Virtual Circuit
  55. mode on radio links.
  56.  
  57. The following is a commented extract from my IPROUTE.CFG
  58.  
  59. #
  60. #    Any lines starting with a # are ignored.
  61. #
  62. #    You must tell the system its IP Address. Note that if you are
  63. #    running a NOS (or similar) system as well, it must have a
  64. #    different address
  65. #
  66. IPADDRESS=44.131.4.20        
  67. #
  68. #    You can put in ROUTE commands to tell the system where to send
  69. #    frames for each station. You specify the IP address, the next
  70. #    Router in the path (if you cant reach the station directly), the
  71. #    Radio Port to use (as defined in BPQCFG), and the frame type.
  72. #
  73. #    ROUTE 44.131.4.18 * 1 V
  74. #
  75. #    This means station 44.131.4.18 can be reached on port 1, using
  76. #    Virtual Circuit mode.
  77. #
  78. #    ROUTE 44.141.5.1 44.131.27.1 0 N
  79. #
  80. #    This means station 44.131.5.1 is reachable via router 44.131.27.1,
  81. #    which is via a NETROM link. Port is 0, as the NETROM system will
  82. #    choose the best port.
  83. #
  84. #    If all the traffic for a zone is sent the same way you can define
  85. #    a 'subnet route' by setting the last byte of the address to zero.
  86. #    The following will route all traffic for zone 18 via 44.131.18.24
  87. #
  88. #    ROUTE 44.131.18.0 44.131.18.24 0 N
  89. #
  90. #     You can define a 'Default Route' - somewhere for the Router to
  91. #    send frames if it doesnt know where the station is.
  92. #
  93. ROUTE DEFAULT * 1 V            # Try port 1 for all unknown dests
  94. #
  95. ROUTE 44.131.4.15 * 1 V            # Directly reachable stations. You
  96. ROUTE 44.131.4.32 * 1 V            # may wish to define all your local
  97. ROUTE 44.131.4.33 * 1 V            # users.
  98.  
  99. ROUTE 44.131.4.18 * 2 V            # My WNOS system on a 'LOOPBACK' port
  100.  
  101. ROUTE 44.131.4.23 * 0 N         # G0INA ROUTER. Must be defined, as
  102.                     # system cant learn the address of
  103.                     # NETROM stations.
  104. #
  105. ROUTE 44.131.4.92 44.131.4.57 1 V    # g1xow - need this one, as he is not
  106.                     # running a version which uses RIP
  107. #
  108. ROUTE 44.131.18.0 44.131.18.24 0 N        # G4MCF and zone 18 - running NOS, so
  109.                     # cant be learned 
  110. #
  111. #
  112. #    The system will discover the callsign to be used to talk to
  113. #    directly reachable stations using the ARP protocol. However it
  114. #    cant discover the callsign to be used for NETROM links, so you
  115. #    must include ARP entries for all your NETROM neighbours. You can
  116. #    put in ARP commands for other stations, but that shouldn't be
  117. #    necessary.
  118. #
  119. ARP 44.131.4.23 G0INA-1 0 N
  120. ARP 44.131.18.24 G4MCF-5 0 N
  121. #
  122. #    The Router will exchange routing information with other Routers,
  123. #    if they are defined using a RIP command:
  124. #
  125. #
  126. RIP 44.131.4.23                # G0INA
  127. RIP 44.131.4.91                # G4IRX
  128. #
  129. #    Note that G4MCF is running NOS, not my Router, so I cant send
  130. #    him RIP info.
  131.  
  132.  
  133. John Wiseman G8BPQ
  134. 31/12/92
  135.